package com.nc.cloud.admin;

import com.nc.cloud.authority.client.EnableAceAuthClient;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author o_0sky
 * @date 2020/3/12 16:30
 */

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.nc.cloud.admin.mapper")
@EnableFeignClients({"com.nc.cloud.authority.client.feign"})
@EnableSwagger2Doc
@EnableAceAuthClient
public class AdminBootstrap {
    public static void main(String[] args) {
        new SpringApplicationBuilder(AdminBootstrap.class).run(args);
    }
}
